package com.jxtti.dao;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;

import com.jxtti.entity.SiteContent;

@Repository
public interface SiteContentDao<T> {
	public List<SiteContent> queryByList(Map<String, Object> data);
	
	public SiteContent queryById(SiteContent  entity);	
	
	public SiteContent queryByMenuId(SiteContent  entity); 
	
	public int add(SiteContent entity);	
	
	public int update(SiteContent entity);	
	
	public int delete(SiteContent entity);
	
	public int deleteByMenu(SiteContent entity);
	
	public int queryByCount(SiteContent entity);
	
}
